package com.app.micaihu.custom.view.dataview;

import android.content.Context;
import android.util.AttributeSet;

import com.app.micaihu.configure.StyleConstant;
import com.app.utils.util.view.expression.bean.BiaoQinList;
import com.app.utils.util.view.expression.view.BiaoQinLinearLayout;

import java.util.ArrayList;

/**
 * 自定义表情控件
 * Created by linkai on 2016/8/10.
 */
public class MyExpressView extends BiaoQinLinearLayout {
    public MyExpressView(Context context) {
        super(context);
        init();
    }

    public MyExpressView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    private void init(){
        //初始化表情数据
        list = new ArrayList<BiaoQinList>();
        BiaoQinList bql = new BiaoQinList(StyleConstant.piclist1_res(),StyleConstant.piclist1_names());
        list.add(bql);
        bql = new BiaoQinList(StyleConstant.piclist2_res(),StyleConstant.piclist2_names());
        list.add(bql);
    }
}
